package com.itheima.jiekou;

public class Test {
    public static void main(String[] args) {
       /* Inter inter = new Inter();
        inter.sing();*/
        InterImpl inter = new InterImpl();
        inter.sing();
        inter.dance();
        inter.rap();
        inter.basketball();
    }
}
interface Inter{
    public abstract void sing();
    public abstract void dance();
}
class InterImpl implements Inter,Inter2{
    @Override
    public void sing() {
        System.out.println("只因你太美");
    }
    @Override
    public void dance() {
        System.out.println("蹦跶一会儿");
    }
    @Override
    public void rap() {
        System.out.println("即兴的来一段 freestyle");
    }
    @Override
    public void basketball() {
        System.out.println("来个胯下运球");
    }
}
interface  Inter2{
    public abstract  void rap();
    public abstract  void basketball();
}